﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
namespace RSM.Business
{
   public static  class Logger
    {
      
       public static void LogErrorMessage(string errorMesaage)
       {
           EventLog.WriteEntry("RSMTechnoExporter", errorMesaage); 

       }
       public static void LogException(Exception ex)
       {
           EventLog.WriteEntry("RSMTechnoExporter",ex.Message);
           EventLog.WriteEntry("RSMTechnoExporter", ex.StackTrace); 

       }

    }
}
